<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://www.pimpas.net/web/jsf" prefix="pimp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view>
	<html>
	<head>
	<title>USER LOGIN TESTE</title>
	<style>
	.errorLogin {
		color: red;
		font-weight: bold;
		font-size: 12px;	
		font-family: sans-serif;
	}
	</style>
	</head>
	<body>
		<h:form>
			<pimp:accordionPanel id="personalAccordPanel" title="Log-in" state="expanded">
				<h:panelGrid columns="2">
					<h:outputText value="Enter with your login name:"></h:outputText>
					<h:inputText value="#{loginScreen.login}"></h:inputText>
					<h:outputText value="Enter with your password:"></h:outputText>
					<h:inputSecret value="#{loginScreen.password}"></h:inputSecret>
					<h:commandButton value="Login" action="#{loginScreen.doLogin}"	></h:commandButton>
					<h:commandButton value="Logoff" action="#{loginScreen.doLogoff}"	></h:commandButton>
					<pimp:simpleTag tag="br"></pimp:simpleTag>
					<h:outputText styleClass="errorLogin" value="#{loginScreen.loginMessage}"></h:outputText>
				</h:panelGrid>
			</pimp:accordionPanel>
		</h:form>
	</body>
	</html>
</f:view>